package com.tangula.web.kashine.repository;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import com.tangula.web.kashine.entity.ClassStudentRefEntity;
@Repository
public interface ClassStudentRefEntityRepository extends JpaRepository<ClassStudentRefEntity, String>{

	Page<ClassStudentRefEntity> findByClassId(String classId, Pageable pageRequest);
	List<ClassStudentRefEntity> findByClassId(String classId);
	List<ClassStudentRefEntity> findByStudentId(String condition);
	ClassStudentRefEntity findByClassIdAndStudentId(String classId, String studentId);
	List<String> findStudentIdByClassId(String string);

	

}
